Query string parameters
| Parameter | *Possible replacement ** | Description | Is it Mandatory to complete the field? | Reference | ||
|---|---|---|---|---|---|---|
| Name | Type | Name | Type | |||
| doc_ext_id | string(250) | Document ID in the manufacturer's system | ||||
| dat | string | Production date, format “yyyy-mm-dd” | Mandatory | |||
| depart_ext_id | string(250) | depart_id | integer | Sending department ID | Mandatory | 2.04 |
| product_line_ext_id | string(250) | product_line_id | integer | Production line ID | 2.07 | |
| doc_status | integer | Document status (0 – New, 1 – Confirmed), default value – 0. | ||||
| doc_type | integer | Codes emission type (1 - retail, 2 - import), default value - 1 | ||||
| num | string | Document number | ||||
| notes | string | Notes | ||||
| items | array | List of products by document | Mandatory | |||
| request_id | string(250) | Unique request ID | ||||
| order_num | string | Excise codes order number | 2.1.15 |
Note: If a request with an identifier (request_id) that has already been processed is received from the producer, the previous response will be returned.
Note: If a new request with the same parameters but a different request_id is received within 5 minutes of the initial request, it will be treated as a repeat of the previous request. The handling will be identical to that of a request with the same request_id. After 5 minutes, such a request will be treated as a new request.
Items:
| Field | *Possible replacement ** | Description | Is it Mandatory to complete the field? | Reference | ||
|---|---|---|---|---|---|---|
| Name | Type | Name | Type | |||
| assort_ext_id | string(250) | assort_id | integer | ID of the product | Mandatory | 2.1.11 |
| unit_ext_id | string(250) | unit_id | integer | ID of the package | Mandatory | 2.1.11 |
| cnt | integer | Quantity | Mandatory | |||
| valid_until | string | Expiration date, format “yyyy-mm-dd” | ||||
| serial_num | string | Serial number |